<%@page import="helpers.StringHelper"%>
<%@page import="helpers.UrlHelper"%>
<%@page import="entities.Page"%>
<%
Page privacy = (Page) request.getAttribute("privacy");

//Set content for seo
String domainServer = UrlHelper.getDomainServer(request);
String title = domainServer  + " - " + privacy.getTitle();
String description = StringHelper.cutString(StringHelper.html2text(privacy.getContent()), 30);
String keywords = domainServer + ", privacy, privacy policy, web site analysis, website traffic details, server information, website ranking info, check information my domain" ;
String url = UrlHelper.getServerUrl(request) + "/privacy-policy";
%>

<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<jsp:include page="/layouts/header.jsp">
	<jsp:param name="title" value="<%=title %>" />
    <jsp:param name="description" value="<%=description %>" />
    <jsp:param name="keywords" value="<%=keywords %>" />
    <jsp:param name="ogtitle" value="<%=title %>" />
    <jsp:param name="ogurl" value="<%=url %>" />
    <jsp:param name="ogdescription" value="<%=description%>" />
</jsp:include>

                <div id="leftSideContent">
                	<section class="block">
                    	<div class="blockContent">
                            <h3 class="blockHeading"><span><%=privacy.getTitle() %></span></h3>
                            <div class="aboutUs clearafter">
                            	<div>
                                	<%=privacy.getContent() %>
                                </div>
                            </div>
                        </div>
                        <div class="blockShadow"></div>
                    </section>                	
                </div>
                
                <!-- right content -->
                <jsp:include page="/elements/right.jsp" />
                <!-- end right content -->
                
<jsp:include page="/layouts/footer.jsp" />